package com.hangxiang.approval.vo;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 审批表(Approve)实体类
 *
 * @author makejava
 * @since 2020-11-25 15:34:18
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "信息类")
public class ApproveVo extends Model<ApproveVo> implements Serializable {
    private static final long serialVersionUID = 976822429343643751L;
    /**
     * 主键id
     */
    @ApiModelProperty("主键id")
    private Integer id;
    /**
     * 申请表id
     */
    @ApiModelProperty("申请表id")
    private Integer applyId;
    /**
     * 审批人id
     */
    @ApiModelProperty("审批人id")
    private Integer userId;
    /**
     * 审批人名称
     */
    @ApiModelProperty("审批人名称")
    private String userName;
    /**
     * 状态:0拒绝，1通过2,待审批3，待处理
     */
    @ApiModelProperty("状态:0拒绝，1通过2,待审批3，待处理")
    private Integer state;
    /**
     * 备注
     */
    @ApiModelProperty("备注")
    private String remark;
    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("抄送人")
    private List<PeopleVo> list;


}